import { WelGiftItem } from "./welfare/WelGiftItem";
type int = number;
//class Gift91WanPanel
    
    export  class Gift91WanPanel /* flash.display.Sprite */
    {
        constructor(arg1: int, arg2: int)
        {
            
            this._width = arg1;
            this._height = arg2;
            this.initUI();
            return;
        }

        protected initUI(): void
        {
            this._gift1 = new WelGiftItem();
            this._gift1.x = 0;
            this._gift1.y = 0;
            addChild(this._gift1);
            this._gift2 = new WelGiftItem(true);
            this._gift2.x = this._gift1.x;
            this._gift2.y = this._gift1.y + this._gift1.height + 2;
            addChild(this._gift2);
            return;
        }

        public updateData(arg1: Array<any>): void
        {
            this._gift1.updateData(arg1[0]);
            return;
        }

        public dispose(): void
        {
            return;
        }

        public /* override */ get width(): number
        {
            return this._width;
        }

        public /* override */ get height(): number
        {
            return this._height;
        }

        /* internal */ /* var */_gift1: WelGiftItem;

        /* internal */ /* var */_gift2: WelGiftItem;

        /* internal */ /* var */_width: int;

        /* internal */ /* var */_height: int;
    }
